/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package csp;

import java.util.List;

/**
 *
 * @author Leandro
 */
public abstract class Restriccion {

    public abstract  boolean verifica();

    protected Variable xi;
    protected Variable xj;

    public List<Variable> getVariablesRestringidas() {
        return variablesRestringidas;
    }

    public void setVariablesRestringidas(List<Variable> variablesRestringidas) {
        this.variablesRestringidas = variablesRestringidas;
    }

    protected List<Variable> variablesRestringidas;

    public Variable getXi() {
        return xi;
    }

    public void setXi(Variable xi) {
        this.xi = xi;
    }

    public Variable getXj() {
        return xj;
    }

    public void setXj(Variable xj) {
        this.xj = xj;
    }




}
